Skip to main content

Delete Ticket

AutomatR.FreshDesk.Activities.DeleteTicket

The "Delete Ticket" activity in AutomatR is part of the Freshdesk activities package, providing the capability to delete a ticket within a Freshdesk user's account. This activity streamlines the process of ticket management in Freshdesk, allowing for the removal of a specific ticket based on its ID.

Properties

NameDescription
Input
Ticket IDSpecifies the ID of the ticket to be deleted. It is a required input, uniquely identifying the ticket to be removed from Freshdesk. String variables containing the ticket ID.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get All Agents" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Delete Ticket" activity onto the workflow.
  2. Configure the properties by specifying the ticket ID of the ticket to be deleted.
  3. Optionally, configure the delay.
  4. Execute the workflow to delete the specified ticket in Freshdesk.

Example: Consider an example where the "Delete Ticket" activity is used to remove a specific ticket identified by the ticket ID:

Delete Ticket:
Display Name: "Remove Support Ticket"
Ticket ID: "123456789"

In this example, the activity deletes the ticket associated with the ticket ID "123456789." The workflow ensures that the ticket is successfully removed from Freshdesk. If the ticket is not found or any other issues occur, the activity raises exceptions for proper error handling.